// components/my-prop/my-prop.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    // title: String
    title: {
      type: String,
      value: '我是默认的标题',
      observer(newVal, oldVal) {
        console.log(newVal, oldVal);
      }
    },
  },
  //父页面传递样式
  externalClasses: [
    'title-class'
  ],
})
